package com.zhsq.zlc.dao.supplier;

import com.zhsq.zlc.entity.SupplierEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface SupplierMapper {

    int count(SupplierEntity entity);

    List<SupplierEntity> list(SupplierEntity entity);

    SupplierEntity getSupplierById(SupplierEntity entity);

    void edit(SupplierEntity entity);

    void add(SupplierEntity entity);

    void delete(int intID);
}
